package com.stars.questions.deptQuestion.config.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stars.questions.deptQuestion.config.entity.Organizes;
import org.apache.ibatis.annotations.*;

/**
 * 数据库映射
 */
@Mapper
public interface DeptMapper extends BaseMapper<Organizes> {

    @Select("SELECT MAX(SHOWORDER) FROM QUESTION_ORGANIZES ")
    Integer getDeptMaxOrder();
}
